package com.moduls.interfaceFunction.excel.export;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 客户对象单
 * @author pc
 *
 */
public class BalanceBean {

	private String create_time;
	private String kehu_company;
	private String salesman_name;
	private String deliver_name;
	private String order_no;
	private String status;
	private String real_pay_amount;
	private String virtual_pay_amount;
	private String diff_amount;
	private String jiesuan_status;
	
	public BalanceBean() {
		
	}
	public BalanceBean(Map<String, Object> map) {
		if (!(map.get("create_time") == null || map.get("create_time").equals(""))) {
    		this.create_time = map.get("create_time").toString();
		}
    	if (!(map.get("kehu_company") == null || map.get("kehu_company").equals(""))) {
    		this.kehu_company = map.get("kehu_company").toString();
		}
    	if (!(map.get("salesman_name") == null || map.get("salesman_name").equals(""))) {
    		this.salesman_name = map.get("salesman_name").toString();
		}
    	if (!(map.get("deliver_name") == null || map.get("deliver_name").equals(""))) {
    		this.deliver_name = map.get("deliver_name").toString();
		}
    	if (!(map.get("order_no") == null || map.get("order_no").equals(""))) {
    		this.order_no = map.get("order_no").toString();
		}
    	if (!(map.get("status") == null || map.get("status").equals(""))) {
    		this.status = map.get("status").toString();
		}
    	if (!(map.get("real_pay_amount") == null || map.get("real_pay_amount").equals(""))) {
    		this.real_pay_amount = map.get("real_pay_amount").toString();
		}
    	if (!(map.get("virtual_pay_amount") == null || map.get("virtual_pay_amount").equals(""))) {
    		this.virtual_pay_amount = map.get("virtual_pay_amount").toString();
		}
    	if (!(map.get("diff_amount") == null || map.get("diff_amount").equals(""))) {
    		this.diff_amount = map.get("diff_amount").toString();
		}
    	if (!(map.get("jiesuan_status") == null || map.get("jiesuan_status").equals(""))) {
    		this.jiesuan_status = map.get("jiesuan_status").toString();
		}
	}
	
	public static List<BalanceBean> getBean(List<Map<String, Object>> list) {
		List<BalanceBean> balanceBeans = null;
		if (list != null && list.size() > 0) {
			balanceBeans = new ArrayList<>();
			for (Map<String, Object> map : list) {
				balanceBeans.add(new BalanceBean(map));
			}
		}
		return balanceBeans;
	}
	
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public String getKehu_company() {
		return kehu_company;
	}
	public void setKehu_company(String kehu_company) {
		this.kehu_company = kehu_company;
	}
	public String getSalesman_name() {
		return salesman_name;
	}
	public void setSalesman_name(String salesman_name) {
		this.salesman_name = salesman_name;
	}
	public String getDeliver_name() {
		return deliver_name;
	}
	public void setDeliver_name(String deliver_name) {
		this.deliver_name = deliver_name;
	}
	public String getOrder_no() {
		return order_no;
	}
	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getReal_pay_amount() {
		return real_pay_amount;
	}
	public void setReal_pay_amount(String real_pay_amount) {
		this.real_pay_amount = real_pay_amount;
	}
	public String getVirtual_pay_amount() {
		return virtual_pay_amount;
	}
	public void setVirtual_pay_amount(String virtual_pay_amount) {
		this.virtual_pay_amount = virtual_pay_amount;
	}
	public String getDiff_amount() {
		return diff_amount;
	}
	public void setDiff_amount(String diff_amount) {
		this.diff_amount = diff_amount;
	}
	public String getJiesuan_status() {
		return jiesuan_status;
	}
	public void setJiesuan_status(String jiesuan_status) {
		this.jiesuan_status = jiesuan_status;
	}
	
}
